package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 项目前期情况记录表
 *
 * @author code-generate
 * @date 2022-11-02
 */
@Data
@DbTable(tableName = "t_proj_situation_record")
public class ProjSituationRecord extends BaseEntity {

    /**
     * 项目前期情况ID
     */
    @DbTableField(columnName = "c_situation_id", dbType = DbTypeEnum.VARCHAR)
    public String situationId;

    /**
     * 项目ID
     */
    @DbTableField(columnName = "c_proj_id", dbType = DbTypeEnum.VARCHAR)
    public String projId;

    /**
     * 建设类型（新/改建）
     */
    @DbTableField(columnName = "c_bulid_type", dbType = DbTypeEnum.VARCHAR)
    public String bulidType;

    /**
     * 面积（㎡）
     */
    @DbTableField(columnName = "c_proj_area", dbType = DbTypeEnum.VARCHAR)
    public String projArea;

    /**
     * 建设地址
     */
    @DbTableField(columnName = "c_proj_address", dbType = DbTypeEnum.VARCHAR)
    public String projAddress;

    /**
     * 基本建设内容
     */
    @DbTableField(columnName = "c_bulid_content", dbType = DbTypeEnum.VARCHAR)
    public String bulidContent;

    /**
     * 立项批复文号
     */
    @DbTableField(columnName = "c_init_approval_code", dbType = DbTypeEnum.VARCHAR)
    public String initApprovalCode;

    /**
     * 立项批复金额（万元）
     */
    @DbTableField(columnName = "c_init_approval_money", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal initApprovalMoney;

    /**
     * 立项批复时间
     */
    @DbTableField(columnName = "c_init_date", dbType = DbTypeEnum.DATE)
    public LocalDate initDate;

    /**
     * 概算批复文号
     */
    @DbTableField(columnName = "c_approval_no", dbType = DbTypeEnum.VARCHAR)
    public String approvalNo;

    /**
     * 概算批复总金额（万元）
     */
    @DbTableField(columnName = "c_estimate_total_money", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal estimateTotalMoney;

    /**
     * 概算批复工程费用（万元）
     */
    @DbTableField(columnName = "c_estimate_approval_money", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal estimateApprovalMoney;

    /**
     * 概算批复时间
     */
    @DbTableField(columnName = "c_approval_date", dbType = DbTypeEnum.DATE)
    public LocalDate approvalDate;

    /**
     * 项目X坐标
     */
    @DbTableField(columnName = "c_geo_x", dbType = DbTypeEnum.DOUBLE)
    public Double geoX;

    /**
     * 项目Y坐标
     */
    @DbTableField(columnName = "c_geo_y", dbType = DbTypeEnum.DOUBLE)
    public Double geoY;

    /**
     * 备注
     */
    @DbTableField(columnName = "c_remark", dbType = DbTypeEnum.VARCHAR)
    public String remark;

    /**
     * 排序号
     */
    @DbTableField(columnName = "c_order_num", dbType = DbTypeEnum.INTEGER)
    public Integer orderNum;

    /**
     * 程序类型(建设程序/采购程序)
     */
    @DbTableField(columnName = "c_program_type", dbType = DbTypeEnum.VARCHAR)
    public String programType;

    /**
     * 会议纪要类型(1、区常委会议纪要/区常务会议纪要/区政府批示/专题会议 ,2、党委会议纪要 /局长办公会议纪要, 3.主任办公会议纪要)
     */
    @DbTableField(columnName = "c_meeting_type", dbType = DbTypeEnum.VARCHAR)
    public String meetingType;
    /**
     * 会议纪要编号
     */
    @DbTableField(columnName = "c_meeting_code", dbType = DbTypeEnum.VARCHAR)
    public String meetingCode;

    /**
     * 上会限价（万元）
     */
    @DbTableField(columnName = "c_meeting_limit_money", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal meetingLimitMoney;

    /**
     * 经办人
     */
    @DbTableField(columnName = "c_operator", dbType = DbTypeEnum.VARCHAR)
    public String operator;

    /**
     * 工程建设其他费用(万)
     */
    @DbTableField(columnName = "c_construct_other_money", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal constructOtherMoney;

    /**
     * 工程建设其他费用(万)
     */
    @DbTableField(columnName = "c_prepare_money", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal prepareMoney;
}
